<?php

include_once 'modele/except/domotiqueException.class.php';

abstract class DomotiqueConfort extends DomotiqueException
{
	public function __construct($message)
	{
		parent::__construct($message);
	}
	
	public function notification($global)
	{
		echo "<script type='text/javascript'>
			var notification = noty({type: 'warning', layout: 'top', text: '<b>" .$global. "</b><br/>" .$this->message. "'});
		</script>";
	}
}
?>